﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class ShopService
	{
		private static readonly ShopDAL db = new ShopDAL();
		#region[Shop_GetById]
		public static DataTable Shop_GetById(string Data)
		{
			return db.Shop_GetById(Data);
		}
		#endregion
		#region[Shop_GetByAll]
		public static DataTable Shop_GetByAll()
		{
			return db.Shop_GetByAll();
		}
		#endregion
		#region[Shop_GetByTop]
		public static DataTable Shop_GetByTop(string Top, string Where, string Order)
		{
			return db.Shop_GetByTop(Top, Where, Order);}
		#endregion
		#region[Shop_Insert]
		public static void Shop_Insert(ShopInfo Data)
		{
			 db.Shop_Insert(Data);
		}
		#endregion
		#region[Shop_Update]
		public static void Shop_Update(ShopInfo Data)
		{
			 db.Shop_Update(Data);
		}
		#endregion
		#region[Shop_Delete]
		public static void Shop_Delete(string Data)
		{
			 db.Shop_Delete(Data);
		}
		#endregion
	}
}